package c.h.a.x;

import android.text.TextUtils;
import android.webkit.WebSettings;
import android.widget.Toast;
import com.liuzh.deviceinfo.appinfo.ManifestActivity;

/* compiled from: lambda */
public final /* synthetic */ class l implements Runnable {
    public final /* synthetic */ ManifestActivity a;
    public final /* synthetic */ String b;

    public /* synthetic */ l(ManifestActivity manifestActivity, String str) {
        this.a = manifestActivity;
        this.b = str;
    }

    public final void run() {
        ManifestActivity manifestActivity = this.a;
        String str = this.b;
        manifestActivity.s = str;
        manifestActivity.r.setVisibility(8);
        if (TextUtils.isEmpty(str)) {
            Toast.makeText(manifestActivity, 2131689838, 0).show();
            manifestActivity.finish();
            return;
        }
        WebSettings settings = manifestActivity.q.getSettings();
        settings.setBuiltInZoomControls(true);
        settings.setUseWideViewPort(true);
        settings.setDisplayZoomControls(false);
        manifestActivity.q.loadData(str, "text/xml", "utf-8");
    }
}
